﻿@model SimpleScrum.Areas.Admin.Models.ForgotPasswordViewModel
@{
    ViewBag.Title = "Forgot Password";
}
<div class="row-fluid">
    <div class="span10 offset1">
        <hgroup class="title">
            <h3>@ViewBag.Title</h3>
            <h4 class="message">Enter your email address and your password will be reset and emailed to you.</h4>
        </hgroup>
    </div>
    <div class="span10 offset1">
        @using (Html.BeginForm()){
        @Html.AntiForgeryToken()
        <div class="text-error">@Html.ValidationSummary()</div>

        <fieldset class="control-group">
            <legend>Reset your password</legend>
            <div class="control-label span1 offset2">
                @Html.LabelFor(model => model.Email)
            </div>
            <div class="controls span6">
                @Html.TextBoxFor(model => model.Email)
                @Html.ValidationMessageFor(model => model.Email)
            </div>
            <div class="span3 offset3">
                @Html.HiddenFor(model => model.RequireSecretQuestionAndAnswer)
                <input class="btn btn-inverse" type="submit" value="Submit" />
            </div>
        </fieldset>
    }
    </div>
</div>

<script type="text/javascript">
    $("#Email").focus();
</script>